package com.woniu.communitymanagement.service;

import com.woniu.communitymanagement.entity.Complaint;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.communitymanagement.entity.HttpResult;

/**
* @author admin
* @description 针对表【complaint(投诉信息表)】的数据库操作Service
* @createDate 2022-11-30 17:38:48
*/
public interface ComplaintService extends IService<Complaint> {
    HttpResult selectAll(String typeId,String status,Integer pageIndex,Integer pageSize);
    HttpResult selectByOne(Integer id);
    HttpResult insertComplaint(Complaint complaint);
    HttpResult deleteComplaint(Integer id);
    HttpResult updateComplaint(Complaint complaint);
    HttpResult selectAllName();
    HttpResult selectAllOwner();

}
